package com.jiezhuo.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OtherBO {
   private Integer online_device_num;
   private Integer all_device_num;
   private Integer all_alarm_num;
   private Integer unsolve_alarm_num;

   public Integer getOnline_device_num() {
      return this.online_device_num;
   }

   public Integer getAll_device_num() {
      return this.all_device_num;
   }

   public Integer getAll_alarm_num() {
      return this.all_alarm_num;
   }

   public Integer getUnsolve_alarm_num() {
      return this.unsolve_alarm_num;
   }

   public void setOnline_device_num(Integer online_device_num) {
      this.online_device_num = online_device_num;
   }

   public void setAll_device_num(Integer all_device_num) {
      this.all_device_num = all_device_num;
   }

   public void setAll_alarm_num(Integer all_alarm_num) {
      this.all_alarm_num = all_alarm_num;
   }

   public void setUnsolve_alarm_num(Integer unsolve_alarm_num) {
      this.unsolve_alarm_num = unsolve_alarm_num;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof com.jiezhuo.entity.vo.OtherBO)) {
         return false;
      } else {
         com.jiezhuo.entity.vo.OtherBO other = (com.jiezhuo.entity.vo.OtherBO)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            label59: {
               Object this$online_device_num = this.getOnline_device_num();
               Object other$online_device_num = other.getOnline_device_num();
               if (this$online_device_num == null) {
                  if (other$online_device_num == null) {
                     break label59;
                  }
               } else if (this$online_device_num.equals(other$online_device_num)) {
                  break label59;
               }

               return false;
            }

            Object this$all_device_num = this.getAll_device_num();
            Object other$all_device_num = other.getAll_device_num();
            if (this$all_device_num == null) {
               if (other$all_device_num != null) {
                  return false;
               }
            } else if (!this$all_device_num.equals(other$all_device_num)) {
               return false;
            }

            Object this$all_alarm_num = this.getAll_alarm_num();
            Object other$all_alarm_num = other.getAll_alarm_num();
            if (this$all_alarm_num == null) {
               if (other$all_alarm_num != null) {
                  return false;
               }
            } else if (!this$all_alarm_num.equals(other$all_alarm_num)) {
               return false;
            }

            Object this$unsolve_alarm_num = this.getUnsolve_alarm_num();
            Object other$unsolve_alarm_num = other.getUnsolve_alarm_num();
            if (this$unsolve_alarm_num == null) {
               if (other$unsolve_alarm_num != null) {
                  return false;
               }
            } else if (!this$unsolve_alarm_num.equals(other$unsolve_alarm_num)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof com.jiezhuo.entity.vo.OtherBO;
   }

   public int hashCode() {

      int result = 1;
      Object $online_device_num = this.getOnline_device_num();
      result = result * 59 + ($online_device_num == null ? 43 : $online_device_num.hashCode());
      Object $all_device_num = this.getAll_device_num();
      result = result * 59 + ($all_device_num == null ? 43 : $all_device_num.hashCode());
      Object $all_alarm_num = this.getAll_alarm_num();
      result = result * 59 + ($all_alarm_num == null ? 43 : $all_alarm_num.hashCode());
      Object $unsolve_alarm_num = this.getUnsolve_alarm_num();
      result = result * 59 + ($unsolve_alarm_num == null ? 43 : $unsolve_alarm_num.hashCode());
      return result;
   }

   public String toString() {
      return "OtherBO(online_device_num=" + this.getOnline_device_num() + ", all_device_num=" + this.getAll_device_num() + ", all_alarm_num=" + this.getAll_alarm_num() + ", unsolve_alarm_num=" + this.getUnsolve_alarm_num() + ")";
   }
}
